Home » Network & Servers » Page 5

I was wondering if I can send a message to SQS queue and subscribe
an SNS topic to it to trigger a lambda for sending an email.

SQS -> SNS -> (Lambda) -> SES

I know SNS messages can be sent to SQS but I'm curious if the other
way around is possible

I have a tomcat 7 instance which was installed and configured by
other person.

I can see that it sets two JSESSIONID cookies for each request.

  • One like

    JSESSIONID = {some hash}.{hostname_ajp port}

  • Another one like

    JSESSIONID.some_chars = {other hash}

Expected behavior to have JSESSIONID only.
Reason couldn't be in deployed application because in my local Tomcat
it runs as expected.

Could anyone give a tip about what could be wrong?

My family had bought an old internet cafe with 18 computers
connected to four(4) internet service provider (ISP) 3 routers and 1
modem, one 16 port desktop switch and 8 port ethernet switch to create
an lan for games.

It was already configured by a tech before that cannot be contacted
now but my brother had reseted all the routers and modem to factory
default because he wanted to access its log-in page and that started
our lan configuration problem.

All computers now can access internet but I cannot configure which
router a certain computer was using, I had tried to check by accessing
the ISP IP address "myipaddress.com" but it changes upon reboot, and
for worst sometimes all computers were just using the modem and all 3
routers was not.

All we need to configure is like PC 1 to PC 5 will be assigned to
use Router 1, PC 6 to 9 will use Router 2 and so on...

We would appreciate anyone that could help us as we were just
starting on this small family business. Thank you...


I'm trying to install two proxmox on Online.net server's, and I
just realized that their RPN feature doesn't work at all like the OVH
Since I need the different VM's on both hypervisors to be able to
talk, I want to set up a tunnel (their NAT solution seems ugly and

I tried adding this to the /etc/network/interfaces on both
(inverting the local and remote on the other one, of course) :

auto vmbr1
iface vmbr1 inet static
bridge_ports gretap1
bridge_stp off
bridge_fd 0
pre-up ip link add gretap1 type gretap remote 10.x.x.x local
10.x.x.y.y ttl 255 dev eth1 && ip link set gretap1 up
post-down ip link set gretap1 down && ip tunnel del

That does create gretap1 and vmbr1, gretap1 is in the bridge, but
it's state is UNKNOWN :

8962 qdisc pfifo_fast master vmbr1 state UNKNOWN mode DEFAULT group
default qlen 1000
link/ether 2a:de:a1:5b:c5:10 brd ff:ff:ff:ff:ff:ff

(Same state on both sides)

And I can't ping from each host.
Any idea what I did wrong ? The two eth1 can ping each other, the
problem is only with gretap. Guess I could use L2TP but I wanted to
try out gre, hearing everyone saying it's very easy to set up. Guess
not :)

I've run into issue with kickstart and user creation. From
long-long time ago I had in my kickstart these lines to create

user --name=a --gecos="A" --uid=500 --groups=wheel
--password="..." --iscrypted
user --name=b --gecos="B" --uid=501 --groups=wheel --password="..."

It worked fine on CentOS 6, but when I tried to use it with CentOS
7.2, I've run into issues where because first usergroup will be 1000,
I end up with the user with uid=500, but gid=1000. So, I added group
creation commands:

group --name=a --gid=500
group --name=b --gid=501

Then added --gid=XXX to the user command. Installation
succeeds, I get user and group with correct ids, but there are two

  1. --groups=wheel was ignored;

  2. Password I supplied does not work anymore.

The problem, certainly, goes away if I remove
--gid=XXX from the user creation command.

What would be causing this problem?

I am aware, that as of CentOS 7/RHEL 7 gids/uids bellow 1000 are
reserved for system groups/users, but all of my users are in 500 range
and can't change this just yet.

Outlook's autodiscover process, which is great, first tries to send
a POST request to
ourdomain.com/autodiscover/autodiscover.xml but
ourdomain.com is actually our website - we use office365
as our exchange server. Normally, this would only result in a bunch
of 404 errors that we could gladly ignore. Unfortunately, our web
platform is configured to redirect 404 errors to the internal search
engine, so when this request is made, it attempts to serve
ourdomain.com/search?autodiscover+autodiscover+xml which
adds an unwanted burden to our web server.

How can we get outlook to skip this step in the autodiscover
process and move on to autodiscover.outlook.com? I know I can deny
any request to the location autodiscover, but I was
hoping there was a more graceful way of handling this.

I know the "risk" calculation, but I don't understand what the
variables in the calculation mean

The risk calculation is ((asset * priority *

I don't quite understand what the individual variables in this
equation are supposed to be, though, and they don't appear to be
documented or explained in any detail.

For example, what is "reliability" supposed to denote? Is there any
article or documentation describing the parts of this calculation and
what they are supposed to actually mean? Something like "this event is
very reliable" -- but what does that even mean, especially if I have
no idea if a particular event is reliably a security event. For
example, what metric/rubric am I to use to determine if an event is
more "reliable"?

And "asset": I suppose some assets are clearly more important than
others, but how can I decide how much more important? For example, is
there a rule of thumb on setting asset value?

And finally, priority seems pretty arbitrary as well. Are there any
guidelines or examples on setting this value for any given event?

I want to turn up the sensitivity of some events, but I feel like
I'm randomly mashing buttons without understanding what the intent is
behind the components of this risk equation.

I tried to bind mongo to localhost with the following command

mongod --bind_ip 

and I now can not start the mogodb service getting

00:00:17 bin/mongod --dbpath /usr/lib/unifi/data/db --port
27117 --logappend --logpath logs/mongod.log --nohttpinterface

Any idea on how I can reset it back to it's prior state?

I need to renew the lease of a certain sles12 box. The machine is
configured to use ipv6 only and so far I have tried the following:

From href="http://askubuntu.com/questions/151958/how-to-make-dhclient-forget-its-last-dhcp-lease%20here">here:

dhclient6 -r -v eth0 && rm /var/lib/dhcp6/dhclient*
; dhclient6 -v eth0

Other attempts:

rm /var/lib/wicked/duid.xml
rm /run/wicked/leasinfo.eth0.dhcp.ipv6 /run/wicked/state-2.xml
service network restart

After the restart in the above all files get restored as if nothing
have happened.

If I do dhclient6 -r -v eth0 and then dhclient6
-v eth0
the below messages get repeated forever:

DHCPDISCOVER on eth0 ...
DHCPOFFER from ...
DHCPREQUEST on eth0 ...
DHCPACK from ...
DHCPDECLINE on eth0 ...

The settings in /etc/sysconfig/network/ifcfg-eth0


It is desirable that no additional tools are installed on the
machine. Any thoughts?

I have both Apache and nginx installed and running on an Ubuntu
14.04 LTS server at Digital Ocean. Apache is listening on port 80 and
nginx on port 8080. Thus, the following http requests work:


with the first site served up by Apache and the second served by
nginx. I would prefer the sites to be responsive to something


but I've not been able to get that to work yet. I do understand
the basics of virtual hosts as described in href="http://httpd.apache.org/docs/2.4/vhosts/examples.html"
rel="nofollow">Apache's documentation. In particular, I can get
those sites working if they're both served by apache with the content
served from different document roots. But what Apache configuration
will send requests to www2 over to a different port
served by the nginx server?

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ C/C++/C#
+ VB/VB.Net
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow